package com.iuie.ns.devtools.to;


/**
 * result map的header
 * @author iuie
 * @date 2018-02-08 10:17:18
 */
public class ResultMapDevHeaderTO extends DevHeaderTO{

	private String mybatisVersion;
	
	private String addOne;

	private String batchAdd;

	private String batchDelete;

	private String batchUpdate;

	private String deleteById;

	private String findByCondition;

	private String findById;

	private String updateOne;

	public String getAddOne() {
		return this.addOne;
	}
	public void setAddOne(String addOne) {
		this.addOne = addOne;
	}
	public String getBatchAdd() {
		return this.batchAdd;
	}
	public void setBatchAdd(String batchAdd) {
		this.batchAdd = batchAdd;
	}
	public String getBatchDelete() {
		return this.batchDelete;
	}
	public void setBatchDelete(String batchDelete) {
		this.batchDelete = batchDelete;
	}
	public String getBatchUpdate() {
		return this.batchUpdate;
	}
	public void setBatchUpdate(String batchUpdate) {
		this.batchUpdate = batchUpdate;
	}
	public String getDeleteById() {
		return this.deleteById;
	}
	public void setDeleteById(String deleteById) {
		this.deleteById = deleteById;
	}
	public String getFindByCondition() {
		return this.findByCondition;
	}
	public void setFindByCondition(String findByCondition) {
		this.findByCondition = findByCondition;
	}
	public String getFindById() {
		return this.findById;
	}
	public void setFindById(String findById) {
		this.findById = findById;
	}
	public String getUpdateOne() {
		return this.updateOne;
	}
	public void setUpdateOne(String updateOne) {
		this.updateOne = updateOne;
	}
	public String getMybatisVersion() {
		return mybatisVersion;
	}
	public void setMybatisVersion(String mybatisVersion) {
		this.mybatisVersion = mybatisVersion;
	}
	
	/**
	 * 获取mybatis的resultMap的id值
	 * @return
	 */
	public String getResultMapId() {
		return this.getVariableSimpleClassName() + "Map";
	}
	
}
